package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import com.mbc.rmt.data.BankDataList;
import com.mbc.rmt.entities.Bank;
import com.mbc.rmt.entities.BankRpt;

public interface BankDAO {
	public void create(Bank entity)throws SQLException;
	public void update(Bank entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public Bank find(long key)throws SQLException;
	public Bank findByCode(String code, long branchId)throws SQLException;
	public List<Bank> findAll()throws SQLException;
	public BankDataList findBanks(Bank cri)throws SQLException;
//	public BankDataList getBankList(BankRpt entity) throws SQLException;
	ResultSet prepareBankReport(BankRpt entity)throws SQLException;
}
